package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Member;
import com.itheima.pojo.Memberf;

import java.util.List;
import java.util.Map;

public interface MemberDao {



    public Page<Memberf> selectByConditionf(String queryString);
    public List<Map> findAll();
    public Page<Member> selectByCondition(String queryString);
    public void add(Member member);
    public void deleteById(Integer id);
    public Member findById(Integer id);
    public Member findByTelephone(String telephone);
    public Memberf findByTelephonef(String telephone);
    public void edit(Member member);
    public Integer findMemberCountBeforeDate(String date);
    public Integer findMemberCountByDate(String date);
    public Integer findMemberCountAfterDate(String date);
    public Integer findMemberTotalCount();

    void addAllMember(Memberf memberf);

    void addInfo(Memberf memberf);

    void addDis(Memberf memberf);

    void deleteById_info(Integer id);

    void deleteById_dis(Integer id);

    Memberf findByIdf(Integer id);

    long findByInfoCount(Integer id);

    long findByDisCount(Integer id);

    Memberf findByInfo(Integer id);

    Memberf findByDis(Integer id);

    Memberf findByOnly(Integer id);

    void editByMember(Memberf memberf);

    void editByInfo(Memberf memberf);

    void editByDis(Memberf memberf);

    public Integer findByFileNumber(String fileNumber);

    public Integer findMemberCountByMouth(String month);
}
